package com.zu.commu.landi2.protocol;

import com.zu.commu.auto1_0.DataType1_0;
import com.zu.commu.auto1_0.protocol.DataProtocol;

public class AnswerGPRS {
	public boolean isNeedAnswer(byte[] d) throws Exception {
		DataProtocol automic1_0 = new DataProtocol();
		DataType1_0 dt = automic1_0.decideDataType(d);

		return dt.equals(DataType1_0.REPORTDATA);
	}
	public byte[] remoteData() throws Exception {
		return ReturnData.data();
	}
}